import request from '@/utils/request.js'; // 封装的request.js文件的位置
// 药品查询列表
export const selectDrugApplyList = (data)=>{
	return request('/mobile/drugApply/selectDrugApplyList',"GET",data)
}
// 获取拿药申请详情
export const  getDrugDetail = (data)=>{
	return request('/mobile/drugApply/getDrugDetail',"GET",data)
}
// 处理待处理的拿药申请
export const handleDrugApply = (data,type)=>{
	return request(`/mobile/drugApply/${type === "0" ? "handleDrugApply" : "HandleDrugDistribute"}`,"POST",data)
}

